YNQ  YNQ-1.6.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
CMCodepage Struct Reference

#include <cmapi.h>

Data Fields

NQ_INT id
 
NQ_INT(* toAnsi )(NQ_CHAR *outStr, NQ_UINT outLength, const NQ_WCHAR *inWStr, NQ_UINT inLength)
 
NQ_INT(* toUnicode )(NQ_WCHAR *outWStr, NQ_UINT outLength, const NQ_CHAR *inStr, NQ_UINT inLength)
 
NQ_INT(* toUpper )(NQ_CHAR *dst, const NQ_CHAR *src)
 
void(* ansiToFs )(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars)
 
void(* fsToAnsi )(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars)
 
const NQ_WCHARa2uTab
 

Detailed Description

This structure defines code page parameters.

Field Documentation

NQ_INT CMCodepage::id

Unique id value for this codepage. Code page is identified by this value. It is recommended to use respective Microsoft code page numbers (see notes).

Note
For Microsoft code page numbers see http://msdn.microsoft.com/en-us/library/dd317756(VS.85).aspx
NQ_INT(* CMCodepage::toAnsi)(NQ_CHAR *outStr, NQ_UINT outLength, const NQ_WCHAR *inWStr, NQ_UINT inLength)

Codepage-specific function for Unicode to ANSI conversion

NQ_INT(* CMCodepage::toUnicode)(NQ_WCHAR *outWStr, NQ_UINT outLength, const NQ_CHAR *inStr, NQ_UINT inLength)

Codepage-specific function for ANSI to Unicode conversion

NQ_INT(* CMCodepage::toUpper)(NQ_CHAR *dst, const NQ_CHAR *src)

Codepage-specific function for capitalizing conversion Codepage-specific function for converting ANSI to the encoding used in the local FS

void(* CMCodepage::ansiToFs)(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars)

Codepage-specific function for converting the encoding used in the local FS into ANSI

void(* CMCodepage::fsToAnsi)(NQ_CHAR *str, NQ_INT size, const NQ_BYTE *firstIllegalChar, const NQ_BYTE *anyIllegalChar, NQ_INT numOfFirstIllChars, NQ_INT numOfAnyIllChars)
const NQ_WCHAR* CMCodepage::a2uTab

Fast ANSI to Unicode conversion table. Using this table avoids calling the functions defined in this structure. It is only used for single-byte encodings like Hebrew/Russian/Turkish/Greek/etc. This pointer may be NULL. It should be NULL for multiple-byte encodings.


The documentation for this struct was generated from the following file: